package com.qcrud.records;

import com.qcrud.annotations.SqlSelect;

import java.util.List;

public interface PersonMapper {

    @SqlSelect("""
            select name from person where id=?
            """)
    String selectNameById(int id);

    List<Person> selectByName(String name);

    // 无法执行方法
    Person cannotExecuteMethod();
}
